package com.zyw.module.console.sys.dao;

import com.zyw.module.console.sys.po.Notice;
import com.zyw.orm.mybatis.MybatisBaseDao;
import com.zyw.orm.mybatis.annotation.MyBatisDao;
import com.zyw.orm.support.page.Page;
import java.util.List;

@MyBatisDao
public interface NoticeDao extends MybatisBaseDao<Notice, Integer> {
    int deleteByPrimaryKey(Integer id);

    int insert(Notice record);

    int insertSelective(Notice record);

    Notice selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Notice record);

    int updateByPrimaryKey(Notice record);

    List<Notice> findByPage(Page<Notice> page);
}